package com.cmc.cloud.cmclink.doc.api.document.req.so;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY;

/**
 * 订舱拆分合并记录表  分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 订舱拆分合并记录表  分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class SoSplitCombinePageReqDto extends PageParam {
    @Schema(description = "装货港")
    private String polCode;
    @Schema(description = "订舱船名")
    private String bookingVessel;
    @Schema(description = "订舱航次")
    private String bookingVoyage;
    @Schema(description = "审批状态 PENDING待处理 APPROVED已批准 REJECTED已拒绝")
    private String[] approveStatusList;
    @Schema(description = "操作编号  OPERATION20250515093623")
    private String operationNo;
    @Schema(description = "订舱号")
    private String bookingNo;
    @Schema(description = "申请时间 Start")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate applyTimeStart;
    @Schema(description = "申请时间 End")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY)
    private LocalDate applyTimeEnd;
    @Schema(description = "操作类型 拆分 split 合并 combine")
    private String operationType;
}
